Optimal. Leaf size=231 \[ \frac {2 b e^3 n \log \left (1-\frac {d}{d+e \sqrt [3]{x}}\right ) \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )}{d^3}+\frac {2 b e^2 n \left (d+e \sqrt [3]{x}\right ) \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )}{d^3 \sqrt [3]{x}}-\frac {b e n \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )}{d x^{2/3}}-\frac {\left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )^2}{x}-\frac {2 b^2 e^3 n^2 \text {Li}_2\left (\frac {d}{d+e \sqrt [3]{x}}\right )}{d^3}+\frac {b^2 e^3 n^2 \log \left (d+e \sqrt [3]{x}\right )}{d^3}-\frac {b^2 e^3 n^2 \log (x)}{d^3}-\frac {b^2 e^2 n^2}{d^2 \sqrt [3]{x}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.50, antiderivative size = 253, normalized size of antiderivative = 1.10, number of steps used = 14, number of rules used = 12, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.500, Rules used = {2454, 2398, 2411, 2347, 2344, 2301, 2317, 2391, 2314, 31, 2319, 44} \[ \frac {2 b^2 e^3 n^2 \text {PolyLog}\left (2,\frac {e \sqrt [3]{x}}{d}+1\right )}{d^3}-\frac {e^3 \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )^2}{d^3}+\frac {2 b e^3 n \log \left (-\frac {e \sqrt [3]{x}}{d}\right ) \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )}{d^3}+\frac {2 b e^2 n \left (d+e \sqrt [3]{x}\right ) \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )}{d^3 \sqrt [3]{x}}-\frac {b e n \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )}{d x^{2/3}}-\frac {\left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )^2}{x}-\frac {b^2 e^2 n^2}{d^2 \sqrt [3]{x}}+\frac {b^2 e^3 n^2 \log \left (d+e \sqrt [3]{x}\right )}{d^3}-\frac {b^2 e^3 n^2 \log (x)}{d^3} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 31
Rule 44
Rule 2301
Rule 2314
Rule 2317
Rule 2319
Rule 2344
Rule 2347
Rule 2391
Rule 2398
Rule 2411
Rule 2454
Rubi steps
\begin {align*} \int \frac {\left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )^2}{x^2} \, dx &=3 \operatorname {Subst}\left (\int \frac {\left (a+b \log \left (c (d+e x)^n\right )\right )^2}{x^4} \, dx,x,\sqrt [3]{x}\right )\\ &=-\frac {\left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )^2}{x}+(2 b e n) \operatorname {Subst}\left (\int \frac {a+b \log \left (c (d+e x)^n\right )}{x^3 (d+e x)} \, dx,x,\sqrt [3]{x}\right )\\ &=-\frac {\left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )^2}{x}+(2 b n) \operatorname {Subst}\left (\int \frac {a+b \log \left (c x^n\right )}{x \left (-\frac {d}{e}+\frac {x}{e}\right )^3} \, dx,x,d+e \sqrt [3]{x}\right )\\ &=-\frac {\left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )^2}{x}+\frac {(2 b n) \operatorname {Subst}\left (\int \frac {a+b \log \left (c x^n\right )}{\left (-\frac {d}{e}+\frac {x}{e}\right )^3} \, dx,x,d+e \sqrt [3]{x}\right )}{d}-\frac {(2 b e n) \operatorname {Subst}\left (\int \frac {a+b \log \left (c x^n\right )}{x \left (-\frac {d}{e}+\frac {x}{e}\right )^2} \, dx,x,d+e \sqrt [3]{x}\right )}{d}\\ &=-\frac {b e n \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )}{d x^{2/3}}-\frac {\left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )^2}{x}-\frac {(2 b e n) \operatorname {Subst}\left (\int \frac {a+b \log \left (c x^n\right )}{\left (-\frac {d}{e}+\frac {x}{e}\right )^2} \, dx,x,d+e \sqrt [3]{x}\right )}{d^2}+\frac {\left (2 b e^2 n\right ) \operatorname {Subst}\left (\int \frac {a+b \log \left (c x^n\right )}{x \left (-\frac {d}{e}+\frac {x}{e}\right )} \, dx,x,d+e \sqrt [3]{x}\right )}{d^2}+\frac {\left (b^2 e n^2\right ) \operatorname {Subst}\left (\int \frac {1}{x \left (-\frac {d}{e}+\frac {x}{e}\right )^2} \, dx,x,d+e \sqrt [3]{x}\right )}{d}\\ &=-\frac {b e n \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )}{d x^{2/3}}+\frac {2 b e^2 n \left (d+e \sqrt [3]{x}\right ) \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )}{d^3 \sqrt [3]{x}}-\frac {\left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )^2}{x}+\frac {\left (2 b e^2 n\right ) \operatorname {Subst}\left (\int \frac {a+b \log \left (c x^n\right )}{-\frac {d}{e}+\frac {x}{e}} \, dx,x,d+e \sqrt [3]{x}\right )}{d^3}-\frac {\left (2 b e^3 n\right ) \operatorname {Subst}\left (\int \frac {a+b \log \left (c x^n\right )}{x} \, dx,x,d+e \sqrt [3]{x}\right )}{d^3}+\frac {\left (b^2 e n^2\right ) \operatorname {Subst}\left (\int \left (\frac {e^2}{d (d-x)^2}+\frac {e^2}{d^2 (d-x)}+\frac {e^2}{d^2 x}\right ) \, dx,x,d+e \sqrt [3]{x}\right )}{d}-\frac {\left (2 b^2 e^2 n^2\right ) \operatorname {Subst}\left (\int \frac {1}{-\frac {d}{e}+\frac {x}{e}} \, dx,x,d+e \sqrt [3]{x}\right )}{d^3}\\ &=-\frac {b^2 e^2 n^2}{d^2 \sqrt [3]{x}}+\frac {b^2 e^3 n^2 \log \left (d+e \sqrt [3]{x}\right )}{d^3}-\frac {b e n \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )}{d x^{2/3}}+\frac {2 b e^2 n \left (d+e \sqrt [3]{x}\right ) \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )}{d^3 \sqrt [3]{x}}-\frac {e^3 \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )^2}{d^3}-\frac {\left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )^2}{x}+\frac {2 b e^3 n \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right ) \log \left (-\frac {e \sqrt [3]{x}}{d}\right )}{d^3}-\frac {b^2 e^3 n^2 \log (x)}{d^3}-\frac {\left (2 b^2 e^3 n^2\right ) \operatorname {Subst}\left (\int \frac {\log \left (1-\frac {x}{d}\right )}{x} \, dx,x,d+e \sqrt [3]{x}\right )}{d^3}\\ &=-\frac {b^2 e^2 n^2}{d^2 \sqrt [3]{x}}+\frac {b^2 e^3 n^2 \log \left (d+e \sqrt [3]{x}\right )}{d^3}-\frac {b e n \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )}{d x^{2/3}}+\frac {2 b e^2 n \left (d+e \sqrt [3]{x}\right ) \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )}{d^3 \sqrt [3]{x}}-\frac {e^3 \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )^2}{d^3}-\frac {\left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )^2}{x}+\frac {2 b e^3 n \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right ) \log \left (-\frac {e \sqrt [3]{x}}{d}\right )}{d^3}-\frac {b^2 e^3 n^2 \log (x)}{d^3}+\frac {2 b^2 e^3 n^2 \text {Li}_2\left (1+\frac {e \sqrt [3]{x}}{d}\right )}{d^3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.23, size = 274, normalized size = 1.19 \[ 3 \left (\frac {2}{3} b e n \left (-\frac {e^2 \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )^2}{2 b d^3 n}+\frac {e^2 \log \left (-\frac {e \sqrt [3]{x}}{d}\right ) \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )}{d^3}+\frac {e \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )}{d^2 \sqrt [3]{x}}-\frac {a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )}{2 d x^{2/3}}+\frac {b e^2 n \text {Li}_2\left (\frac {d+e \sqrt [3]{x}}{d}\right )}{d^3}-\frac {b e^2 n \left (\frac {\log (x)}{3 d}-\frac {\log \left (d+e \sqrt [3]{x}\right )}{d}\right )}{d^2}-\frac {b e n \left (-\frac {e \log \left (d+e \sqrt [3]{x}\right )}{d^2}+\frac {e \log (x)}{3 d^2}+\frac {1}{d \sqrt [3]{x}}\right )}{2 d}\right )-\frac {\left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )^2}{3 x}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.45, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {b^{2} \log \left ({\left (e x^{\frac {1}{3}} + d\right )}^{n} c\right )^{2} + 2 \, a b \log \left ({\left (e x^{\frac {1}{3}} + d\right )}^{n} c\right ) + a^{2}}{x^{2}}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (b \log \left ({\left (e x^{\frac {1}{3}} + d\right )}^{n} c\right ) + a\right )}^{2}}{x^{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.09, size = 0, normalized size = 0.00 \[ \int \frac {\left (b \ln \left (c \left (e \,x^{\frac {1}{3}}+d \right )^{n}\right )+a \right )^{2}}{x^{2}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ -\frac {2 \, {\left (\log \left (\frac {e x^{\frac {1}{3}}}{d} + 1\right ) \log \left (x^{\frac {1}{3}}\right ) + {\rm Li}_2\left (-\frac {e x^{\frac {1}{3}}}{d}\right )\right )} b^{2} e^{3} n^{2}}{d^{3}} - \frac {{\left (2 \, a b e^{3} n - {\left (3 \, e^{3} n^{2} - 2 \, e^{3} n \log \relax (c)\right )} b^{2}\right )} \log \left (e x^{\frac {1}{3}} + d\right )}{d^{3}} + \frac {2 \, {\left (b^{2} e^{3} n \log \relax (c) + a b e^{3} n\right )} \log \left (x^{\frac {1}{3}}\right )}{d^{3}} + \frac {b^{2} e^{6} n^{2} x - b^{2} d^{3} e^{3} n^{2} \log \relax (x)}{d^{6}} - \frac {12 \, b^{2} e^{8} n^{2} x^{\frac {5}{3}} - 15 \, b^{2} d e^{7} n^{2} x^{\frac {4}{3}} + 20 \, b^{2} d^{2} e^{6} n^{2} x - 40 \, b^{2} d^{3} e^{5} n^{2} x^{\frac {2}{3}} + 100 \, b^{2} d^{4} e^{4} n^{2} x^{\frac {1}{3}} + 20 \, {\left (b^{2} d^{3} e^{5} n^{2} x^{\frac {2}{3}} - 2 \, b^{2} d^{4} e^{4} n^{2} x^{\frac {1}{3}}\right )} \log \left (x^{\frac {1}{3}}\right )}{20 \, d^{8}} + \frac {60 \, b^{2} d^{5} e^{3} n^{2} x^{\frac {5}{3}} \log \left (e x^{\frac {1}{3}} + d\right )^{2} - 45 \, b^{2} d e^{7} n^{2} x^{3} - 40 \, b^{2} d^{4} e^{4} n^{2} x^{2} \log \relax (x) + 300 \, b^{2} d^{4} e^{4} n^{2} x^{2} - 60 \, b^{2} d^{8} x^{\frac {2}{3}} \log \left ({\left (e x^{\frac {1}{3}} + d\right )}^{n}\right )^{2} - 60 \, {\left (b^{2} d^{7} e n \log \relax (c) + a b d^{7} e n\right )} x - 20 \, {\left (6 \, b^{2} d^{5} e^{3} n x^{\frac {5}{3}} \log \left (e x^{\frac {1}{3}} + d\right ) - 6 \, b^{2} d^{6} e^{2} n x^{\frac {4}{3}} + 3 \, b^{2} d^{7} e n x - 2 \, {\left (b^{2} d^{5} e^{3} n x \log \relax (x) - 3 \, b^{2} d^{8} \log \relax (c) - 3 \, a b d^{8}\right )} x^{\frac {2}{3}}\right )} \log \left ({\left (e x^{\frac {1}{3}} + d\right )}^{n}\right ) - 60 \, {\left (b^{2} d^{8} \log \relax (c)^{2} + 2 \, a b d^{8} \log \relax (c) + a^{2} d^{8}\right )} x^{\frac {2}{3}} + 4 \, {\left (9 \, b^{2} e^{8} n^{2} x^{3} + 5 \, b^{2} d^{3} e^{5} n^{2} x^{2} \log \relax (x) - 15 \, b^{2} d^{3} e^{5} n^{2} x^{2} + 30 \, {\left (b^{2} d^{6} e^{2} n \log \relax (c) + a b d^{6} e^{2} n\right )} x\right )} x^{\frac {1}{3}} - \frac {60 \, {\left (b^{2} d^{3} e^{5} n^{2} x^{3} + b^{2} d^{6} e^{2} n^{2} x^{2}\right )}}{x^{\frac {2}{3}}}}{60 \, d^{8} x^{\frac {5}{3}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.00 \[ \int \frac {{\left (a+b\,\ln \left (c\,{\left (d+e\,x^{1/3}\right )}^n\right )\right )}^2}{x^2} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\left (a + b \log {\left (c \left (d + e \sqrt [3]{x}\right )^{n} \right )}\right )^{2}}{x^{2}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________